package JavaCode;

import java.util.Scanner;

/**
 * @Author Kechelle
 * @Date 2020/9/22 19:01
 * @Version 1.0
 */
public class TestOne {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int num1 = scanner.nextInt();
        int num2 = scanner.nextInt();
        String[] points = new String[num2];
        for (int i=0;i<num2;i++){
            try {
                points[i] = String.valueOf(scanner.nextInt());
            }catch (Exception e){
                System.out.println("error");
                break;
            }
        }
        function(num1,points);
    }

    public static void function(int num,String[] points){
        int x,y;
        int len = points.length;
        for (int i=0;i<len;i++){
            String[] point = points[i].split(",");
            x = Integer.parseInt(point[0]);
            //y = Integer.parseInt(point[1]);
            //if (x<'0' || x>'9') return "error";
            //if (y<'0' || y>'9') return "error";
        }
    }

}
